#ifndef _RCSP_BT_MANAGE_H
#define _RCSP_BT_MANAGE_H

#define DEVICE_EVENT_FROM_RCSP	(('R' << 24) | ('C' << 16) | ('S' << 8) | 'P')


enum RCSP_MSG_T {
    MSG_JL_GET_DEV_UPDATE_FILE_INFO_OFFSET,
    MSG_JL_INQUIRE_DEVEICE_IF_CAN_UPDATE,
    MSG_JL_LOADER_DOWNLOAD_START,
    MSG_JL_UPDATE_START,
    MSG_JL_ENTER_UPDATE_MODE,
    MSG_JL_DEV_DISCONNECT,
    MSG_JL_BLE_UPDATE_START,
    MSG_JL_SPP_UPDATE_START,
    MSG_JL_ADV_SETTING_SYNC,
    MSG_JL_ADV_SETTING_UPDATE,
    MSG_JL_UPDATE_EQ,
    MSG_JL_UPDATE_SEQ,
    MSG_JL_SWITCH_DEVICE,
    MSG_JL_UPDATE_PLAYER_TIME,
    MSG_JL_UPDATE_PLAYER_STATE,
    MSG_JL_UPDATE_MUSIC_INFO,
    MSG_JL_UPDATE_MUSIC_PLAYER_TIME_TEMER,
    MSG_JL_UPDAET_ADV_STATE_INFO,
    MSG_JL_REBOOT_DEV,
    MSG_JL_USER_SPP_BLE_STATE,
    MSG_JL_FIND_DEVICE_RESUME,
    MSG_JL_FIND_DEVICE_STOP,
    MSG_JL_UPDATE_ANC_VOICE,
    MSG_JL_UPDATE_ANC_VOICE_MAX_SYNC,
    MSG_JL_UPDATE_ADAPTIVE_NOISE_REDUCTION,
    MSG_JL_FILE_BROWSER_END,
    MSG_JL_UPDATE_AI_NO_PICK,
    MSG_JL_UPDATE_SCENE_NOISE_REDUCTION,
    MSG_JL_UPDATE_WIND_NOISE_DETECTION,
    MSG_JL_UPDATE_VOICE_ENHANCEMENT_MODE,
    MSG_JL_TWS_NEED_UPDATE,
    MSG_JL_1T2_SETTING,
};

typedef enum {
    RCSP_BT_EVENT_SPP_STATUS,
    RCSP_BT_EVENT_BLE_STATUS,
} RCSP_BT_EVENT;


/**
 * @brief 清除rcsp蓝牙ble连接信息并同步到tws对端
 */
void rcsp_clear_ble_hdl_and_tws_sync(void);
#endif
